package com.example.demo.repository;

import com.example.demo.entity.TimeSlot;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface TimeSlotRepository extends JpaRepository<TimeSlot, Long> {
    List<TimeSlot> findAllByOrderByOrderNumAsc();
    List<TimeSlot> findByLabIdOrderByOrderNumAsc(Long labId);
} 